
import QtQuick.Controls 2.14
import QtQuick 2.7

import QtQuick.Window   2.12
import QtQuick.Layouts 1.3







    Rectangle {
        id: rectangle
        x: 0
        y: 0
        width: 640
        height: 480
        color: "#ffffff"


      ToolBar {
                id:     toolBar
                RowLayout {
                    id:     rowLayout
                    anchors.fill: parent
                    ToolButton {

                        text: qsTr("目录0")
                        onClicked:{
                            con.clickModel.increase()
                            }
                    }
                    ToolButton {
                        text: qsTr("目录1")
                        onClicked: clickModel.increase()

                    }
                    ToolButton {
                        x: 300
                        text: qsTr("目录2")
                        onClicked: view.currentIndex = 2
                    }
                }
            }

}
   



